package com.clickpaas.materialsprocurement.service;

import com.clickpaas.materialsprocurement.common.Response.ResponseResult;
import com.clickpaas.materialsprocurement.entity.MaterialsEntity;
import com.clickpaas.materialsprocurement.entity.PurchaseOrderEntity;
import com.clickpaas.materialsprocurement.entity.ReqLineEntity;
import com.clickpaas.materialsprocurement.entity.SupplierInformationEntity;

public interface ControllerService {

    /**
     * 查询请购单行数据
     * @param materialsEntity
     * @return
     */
    public ResponseResult getReqLineMaterialsInfo(MaterialsEntity materialsEntity);

    /**
     * 查询物料数据
     * @return
     */
    public ResponseResult getMaterialsInfo();

    /**
     * 查询共享库存
     * @return
     */
    public ResponseResult getSharedInventoryInfo(MaterialsEntity materialsEntity);

    /**
     * 采购订单行数据入表
     * @return
     */
    public ResponseResult insertPurchaseOrderLineInfo(String json);

    /**
     * 共享库存数据入表
     * @return
     */
    public ResponseResult insertShareInventInfo(String json);

    /**
     * 查询请购单行和询价单信息
     * @return
     */
    public ResponseResult getreqRFQInfo(ReqLineEntity reqLineEntity);

    /**
     * 甄选对象数据入库
     * @return
     */
    public ResponseResult insertSelectionInfo(String json);

    /**
     * 物料资料对象数据入库
     * @return
     */
    public ResponseResult insertMaterielInfo(String json);

    /**
     * 查询供应商对象数据信息
     * @return
     */
    public ResponseResult getSupplierInfo(SupplierInformationEntity supplierInformationEntity);

    /**
     * 查询采购订单行对象数据信息
     * @return
     */
    public ResponseResult getPurchaseLineInfo(PurchaseOrderEntity purchaseOrderEntity);

    /**
     * 写入入库单对象数据
     * @return
     */
    public ResponseResult insertStockInOrderInfo(String json);
}
